package com.xidian.zhiancloud.model;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentFontStyle;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 危化品库存变化
 *  @author qzg
 */
@Data
@ContentRowHeight(15)
@HeadRowHeight(20)
@ColumnWidth(20)
@TableName(value = "t_dangerous_chemical_inventory_change_record")
public class DangerousChemicalInventoryChangeRecord {
    /**
     *   id
     */
    @ExcelIgnore()
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     *   多租户id
     */
    @ExcelIgnore()
    private Long companyId;

    /**
     *   危化品库存id
     */
    @ExcelIgnore()
    private Long storageId;

    /**
     * 入库量
     */
    @ExcelIgnore()
    private BigDecimal storageQuantity;

    /**
     * 供应商
     */
    @ExcelProperty("供应商")
    private String supplier;

    /**
     * 联系电话
     */
    @ExcelIgnore()
    private String contactNumber;

    /**
     * 入库编号
     */
    @ExcelProperty(value = "入库编号", index = 0)
    private String storageCode;

    /**
     * 入库人id
     */
    @ExcelIgnore()
    private Long storagePersonId;

    /**
     * 入库时间
     */
    @ExcelProperty("入库时间")
    private Date storageTime;

}